package com.slkj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName File.java
 * @Description TODO
 * @createTime 2020年03月13日 09:37:00
 */
public class File {

    private String id;
    private String dutyId;
    private String fileUrl;
    private String fileName;
    private String addDutyUrl;
    private String type;
    private String fileSize;
    @DateTimeFormat(pattern = "yyyy/MM/dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy/MM/dd hh:mm:ss", timezone = "GMT+8")
    private Date insertTime;

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDutyId() {
        return dutyId;
    }

    public void setDutyId(String dutyId) {
        this.dutyId = dutyId;
    }

    public String getAddDutyUrl() {
        return addDutyUrl;
    }

    public void setAddDutyUrl(String addDutyUrl) {
        this.addDutyUrl = addDutyUrl;
    }

    @Override
    public String toString() {
        return "File{" +
                "id='" + id + '\'' +
                ", dutyId='" + dutyId + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", fileName='" + fileName + '\'' +
                ", addDutyUrl='" + addDutyUrl + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
